package com.example.demo.information.service;

import com.example.demo.information.entity.Bjxx;
import com.example.demo.information.entity.School;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author littlecar
 * @date 2020/3/23 15:19
 */
public interface BjxxService {
    List<Bjxx> findByXxxxIdAndNameLike(Long xxxxId,String name);

    List<Bjxx> findPageByXxxxIdAndNameLike(Long xxxxId,String name, int pages, Integer limit);

    List<Bjxx> findAll();

    List<Bjxx> findByXxxxId(Long xxxx_idL);

    List<Bjxx> findPageAll(int pages, Integer limit);

    List<Bjxx> findPageByXxxxId(Long xxxxId, int pages, Integer limit);

    List<Bjxx> findByName(Long xxxxId,String name);

    Bjxx findById(Long id);

    List<Bjxx> findByBjbh(Long xxId,String bjbh);

    void save(Bjxx bjxx);

    void deleteById(Long bjId);

    List<Bjxx> findBySchoolIdAndBzrId(Long school_id, Long old_bzrId);

    Set<Bjxx> findBySchoolId(Long xxId);

    void createBjxxByXxbjmcList(List<String> xxbjmcList, Map<Long, School> xxMap);

}
